#ifndef SPHERECOLLISION_H
#define SPHERECOLLISION_H

#include "CollisionRay.h"
#include "Collider.hpp"

class SphereCollider : public Collider {
    private:
        float radius;

    public:
        SphereCollider(GameObject*, float = 1.0f);
        virtual ~SphereCollider();

        float getRadius();
        bool rayIntersection(CollisionRay*, float&);
};

#endif // SPHERECOLLISION_H
